//: src/com/silvtar/sync/entry/GUI_Entry.java
/* 
 * Created by 朴晟宁 <piaosn@gmail.com> on 4/21/2013. 
 * Copyright (c) 2013 朴晟宁. All rights reserved.
 * 
 * 
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 * 
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License
 * along with this program;
 * 
 * *********************************************************************
 * 
 * Modify History:
 * Date        Version    Description
 * 4/24/2013   0.1        Create The Class. The class is only a entry now.
 *                        
 */

package com.silvtar.sync.entry;

import java.awt.EventQueue;

import com.silvtar.io.StdOut;
import com.silvtar.sync.controller.SilverySyncInit;
import com.silvtar.sync.ui.MainFrame3;

/**
 * 图形界面的入口类。如果想要看到图形界面，请运行本类。
 * 
 * @author silvtar
 * 
 */
public class GUI_Entry {

    /**
     * @param args
     */
    public static void main(String[] args) {

        EventQueue.invokeLater(new Runnable() {
            @Override
            public void run() {
                StdOut.chTerm();
                SilverySyncInit init = new SilverySyncInit();
                try {
                    MainFrame3 frame = new MainFrame3(init);
                    frame.setVisible(true);
                } catch (Exception e) {
                    e.printStackTrace();
                }
            }
        });
    }

}
